package com.flbill.service;

import com.flbill.pojo.dto.LoginDTO;
import com.flbill.pojo.dto.RegisterDTO;
import com.flbill.pojo.entity.User;
import com.flbill.pojo.vo.LoginVO;
import org.springframework.stereotype.Service;

@Service
public interface UserService {
    /**
     * 用户登录
     * @param loginDTO 登录信息
     * @return 登录结果
     */
    LoginVO login(LoginDTO loginDTO);

    /**
     * 用户注册
     * @param registerDTO 注册信息
     */
    void register(RegisterDTO registerDTO);

    User getUser();

    void signIn();

    Integer countSignIn();

    Boolean checkSignIn();

    Float getExpectedExpense();
}